package cn.amoqi.springbootrocketmq2;

import org.apache.rocketmq.spring.core.RocketMQTemplate;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.Resource;

@SpringBootApplication
public class SpringbootRocketmq2Application implements CommandLineRunner {
    @Resource
    private RocketMQTemplate rocketMQTemplate;

    public void run(String... args) throws Exception {

    }
    public static void main(String[] args) {
        SpringApplication.run(SpringbootRocketmq2Application.class, args);
    }
}
